package com.example.demo122.demos;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
public class Test2 {
    @Value("${bite.key1}")
    String key;
    @RequestMapping("/key")
    public String getKey(){
        return key;
    }
}
